package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.assembler;

import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.server.permeate.server.mapping.*;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto.LazyServerPermeateServerMappingDTO;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.server.permeate.server.mapping.LazyNettyServerPermeateServerMapping;
import org.wu.framework.core.mapper.LazyStructMapper;
import org.wu.framework.core.mapper.LazyStructMappers;

/**
 * describe 服务端网络渗透映射
 *
 * @author Jia wei Wu
 * @date 2024/09/17 01:35 下午
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyAssembler
 **/
@LazyStructMapper
public interface LazyNettyServerPermeateServerMappingDTOAssembler {


    /**
     * describe MapStruct 创建的代理对象
     *
     * @author Jia wei Wu
     * @date 2024/09/17 01:35 下午
     **/
    LazyNettyServerPermeateServerMappingDTOAssembler INSTANCE = LazyStructMappers.getMapper(LazyNettyServerPermeateServerMappingDTOAssembler.class);

    /**
     * describe 应用层存储入参转换成 领域对象
     *
     * @param lazyServerPermeateServerMappingStoryCommand 保存服务端网络渗透映射对象
     * @return {@link LazyNettyServerPermeateServerMapping} 服务端网络渗透映射领域对象
     * @author Jia wei Wu
     * @date 2024/09/17 01:35 下午
     **/
    LazyNettyServerPermeateServerMapping toLazyInternalNetworkServerPermeateMapping(LazyServerPermeateServerMappingStoryCommand lazyServerPermeateServerMappingStoryCommand);

    /**
     * describe 应用层更新入参转换成 领域对象
     *
     * @param lazyServerPermeateServerMappingUpdateCommand 更新服务端网络渗透映射对象
     * @return {@link LazyNettyServerPermeateServerMapping} 服务端网络渗透映射领域对象
     * @author Jia wei Wu
     * @date 2024/09/17 01:35 下午
     **/
    LazyNettyServerPermeateServerMapping toLazyInternalNetworkServerPermeateMapping(LazyServerPermeateServerMappingUpdateCommand lazyServerPermeateServerMappingUpdateCommand);

    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param lazyServerPermeateServerMappingQueryOneCommand 查询单个服务端网络渗透映射对象参数
     * @return {@link LazyNettyServerPermeateServerMapping} 服务端网络渗透映射领域对象
     * @author Jia wei Wu
     * @date 2024/09/17 01:35 下午
     **/
    LazyNettyServerPermeateServerMapping toLazyInternalNetworkServerPermeateMapping(LazyServerPermeateServerMappingQueryOneCommand lazyServerPermeateServerMappingQueryOneCommand);

    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param lazyServerPermeateServerMappingQueryListCommand 查询集合服务端网络渗透映射对象参数
     * @return {@link LazyNettyServerPermeateServerMapping} 服务端网络渗透映射领域对象
     * @author Jia wei Wu
     * @date 2024/09/17 01:35 下午
     **/
    LazyNettyServerPermeateServerMapping toLazyInternalNetworkServerPermeateMapping(LazyServerPermeateServerMappingQueryListCommand lazyServerPermeateServerMappingQueryListCommand);

    /**
     * describe 应用层删除入参转换成 领域对象
     *
     * @param lazyServerPermeateServerMappingRemoveCommand 删除服务端网络渗透映射对象参数
     * @return {@link LazyNettyServerPermeateServerMapping} 服务端网络渗透映射领域对象
     * @author Jia wei Wu
     * @date 2024/09/17 01:35 下午
     **/
    LazyNettyServerPermeateServerMapping toLazyInternalNetworkServerPermeateMapping(LazyServerPermeateServerMappingRemoveCommand lazyServerPermeateServerMappingRemoveCommand);

    /**
     * describe 持久层领域对象转换成DTO对象
     *
     * @param lazyNettyServerPermeateServerMapping 服务端网络渗透映射领域对象
     * @return {@link LazyServerPermeateServerMappingDTO} 服务端网络渗透映射DTO对象
     * @author Jia wei Wu
     * @date 2024/09/17 01:35 下午
     **/
    LazyServerPermeateServerMappingDTO fromLazyInternalNetworkServerPermeateMapping(LazyNettyServerPermeateServerMapping lazyNettyServerPermeateServerMapping);
}